chore: add Datadog Code Coverage upload, remove CodeCov#707
Draft
nikita-tkachenko-datadog wants to merge 2 commits into
Draft
Conversation
Replace the codecov/codecov-action upload step with Datadog Code Coverage upload via @datadog/datadog-ci. Coverage is already generated by Jest with the lcovonly reporter (coverage/lcov.info). Upload runs only on node 24 to avoid duplicate uploads from the matrix build. Environment: Datadog workspace Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The datadog-ci coverage upload command does not support a --service flag. Use the DD_SERVICE env var instead, and add continue-on-error so fork PRs without the DATADOG_API_KEY secret do not fail CI. Environment: Datadog workspace Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Onboard to Datadog Code Coverage and remove CodeCov upload.
Summary
codecov/codecov-actionstep from thetestjob in.github/workflows/build.yml@datadog/datadog-ciafter tests run, gated onmatrix.node-version == 24to avoid duplicate uploads from the matrix buildcoverage/lcov.infovia thelcovonlyreporter injest.config.js— no test command changes neededTest plan
DATADOG_API_KEYsecret is set in the repository settingsserverless-plugin-datadogservice after merging